const mongoose = require('./db.js');
const Schema = mongoose.Schema;
const articleSchema = new Schema({
    title:String,
    cid:Schema.Types.ObjectId,
    article_img:String,
    author:String,
    sort:Number,
    status:Number,
    // recommend:Number,
    is_best:Number,
    is_hot:Number,
    content:String,
    keywords:String,
    description:String,
    add_time:Number

})
module.exports = mongoose.model('article',articleSchema,'article')